﻿using AppDesigner.iUIRender;

namespace AppDesigner.iMapper
{
    public class ElementRenderMapper
    {
        #region Singleton

        private static ElementRenderMapper _instance;

        private ElementRenderMapper()
        {

        }

        public static ElementRenderMapper Instance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new ElementRenderMapper();
                }
                return _instance;
            }
        }

	    #endregion

        public BaseUIRender GetMappingRender(string elementName)
        {
            return new UILabelRender();
        }
    }
}
